package com.bw.z.mvp.base.presenter;

import androidx.lifecycle.Lifecycle;
import androidx.lifecycle.LifecycleObserver;
import androidx.lifecycle.OnLifecycleEvent;

/**
 * P层顶层接口,定义P层公共部分
 */
public interface IPresenter extends LifecycleObserver {
    @OnLifecycleEvent(value = Lifecycle.Event.ON_DESTROY)
    void Destroy();

}
